﻿import java.util.Scanner; 

public class code001 {
	public static void main(String[] argse){
		int total;
		int score;
		int num =0;
		Scanner input= new Scanner(System.in);
		System.out.println("输入班级总人数:");
		total = input.nextInt();
		for(int i = 0;i<total;i++){
			System.out.println("请输入对"+(i+1)+"位学生的成绩:");
			score = input.nextInt();
			if (score<80){
				continue;
			}num++;
		}System.out.println("80人数:" + num);
		double bili =(double)num/total*100;
		System.out.println("80分以上占比"+bili+"%");
		
	}
}